GrapeCity.Xaml.CalcEngine
Evaluate(Object[]) Method


GrapeCity.CalcEngine.Functions Namespace > CalcAmorlincFunction Class > Evaluate Method : Evaluate(Object[]) Method

The args contains 6 - 7 items: cost, date_purchased, first_period, salvage, period, rate, [basis].

Cost is the cost of the asset.

Date_purchased is the date of the purchase of the asset.

First_period is the date of the end of the first period.

Salvage is the salvage value at the end of the life of the asset.

Period is the period.

Rate is the rate of depreciation.

Basis is the year basis to be used.

Returns the System.Double depreciation for each accounting period.
Syntax
'Declaration
 
Public Overloads Overrides Function Evaluate( _
   ByVal args() As Object _
) As Object
'Usage
 
Dim instance As CalcAmorlincFunction
Dim args() As Object
Dim value As Object
 
value = instance.Evaluate(args)
public override object Evaluate( 
   object[] args
)

Parameters

args

The args contains 6 - 7 items: cost, date_purchased, first_period, salvage, period, rate, [basis].

Cost is the cost of the asset.

Date_purchased is the date of the purchase of the asset.

First_period is the date of the end of the first period.

Salvage is the salvage value at the end of the life of the asset.

Period is the period.

Rate is the rate of depreciation.

Basis is the year basis to be used.

Return Value

A System.Double value that indicates the evaluate result.
See Also

Reference

CalcAmorlincFunction Class
CalcAmorlincFunction Members
Overload List